package com.example.hand.dao;

import com.example.hand.bean.Admin;
import com.example.hand.bean.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface AdminDao {
    @Select("SELECT * FROM admin WHERE name = #{name} AND password = #{password}")
    Admin getLogin( @Param("name") String name, @Param("password") String password);





}
